<template>
  <div class="home">
    <Header />
    <!-- 子路由内容展示区域 -->
    <div class="home-content">
      <router-view></router-view>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent, ref } from "vue";
import Header from "./Header.vue";
export default defineComponent({
  components: {
    Header,
  },
  setup() {
    const active = ref(0);
    return {
      active,
    };
  },
});
</script>

<style lang="stylus" scoped>
.home
    background #ff7c0d
    .home-content
      background #ff7c0d
      position fixed
      top .53rem
      left 0
      right 0
      bottom .468rem
      overflow-y auto
</style>
